package lab02.test07;


/**
 * Created by Administrator on 2017-10-19.
 */
public class Test {

    public static void main(String[] args) {

        /**
         * 程序执行流程：
         */

        Person chen = new Person();
        chen.name = "chengongsuo";
        chen.age = 20;
        chen.idcard ="340188191880329512";

        System.out.println(chen.getString());

        Student zhen = new Student();
        zhen.name = "zhen";
        zhen.age = 20;
        zhen.idcard = "510112198704039883";
        zhen.sno = "102102399";
        zhen.university = "sctu";

        System.out.println(zhen.getString());

    }
}
